
<h1>{$lang['bestCompaniesType']|sprintf:$lang[$type]}</h1>
<p class="box">
	Top companies are ordered by Net Promoter Score (NPS). NPS is
	calculated by subtracting the percentage of detractors from the
	percentage of promoters. More about NPS from <a
		href="http://en.wikipedia.org/wiki/Net_Promoter">Wikipedia</a>. NPS
	higher than 50% is extremely good!
</p>
<img
	src="{$smarty.const.WEBROOT}/lib/design/img/logo_{$topBusinessCode}.png" width="140" height="140"
	alt="Example right-aligned image" class="right photo">
<table class="feedbackTbl" cellspacing="0" style="width: 570px">
	<thead>
		<tr>
			<th>{$lang['name']}</th>
			<th align="right">{$lang['score']}</th>
		</tr>
	</thead>
	<tbody>
		{foreach from=$npsArray item=nps key=businessKey} {assign var=business
		value=$businessArray[$businessKey]}
		<tr>
			<td><a
				href="{$smarty.const.WEBROOT}/{$smarty.session.l}/companyDetails/{$business->getId()}">{$business->getName()}</a>
			</td>
			<td align="right"><strong>{$nps|string_format:"%.1f"} %</strong></td>
		</tr>
		{/foreach}
	</tbody>
</table>
<div class="clearfix"></div>
<br>
<p class="readmore" style="display: none;">
	<a href="topten.htm">Entire list</a> »
</p>
